package com.appkubes.mall.restful.application.user.address.service;

import com.appkubes.mall.core.entity.MallUserAddress;
import com.appkubes.mall.core.service.BaseMallUserAddressService;
import com.appkubes.mall.restful.application.user.address.entity.vo.MallUserAddressVo;

import java.util.List;

public interface UserAddressService extends BaseMallUserAddressService {

    MallUserAddress getDefault(MallUserAddressVo mallUserAddressVo);

    Boolean setDefault(MallUserAddressVo mallUserAddressVo);

    List<MallUserAddress> querySelective(String userKey, Integer isDefault);
}
